cmake_minimum_required(VERSION 2.8)
 
PROJECT(xinterlayer)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

add_executable(xinterlayer main.cpp point.cpp tetrahedra.cpp)

if(VTK_LIBRARIES)
  target_link_libraries(xinterlayer ${VTK_LIBRARIES})
else()
  target_link_libraries(xinterlayer vtkHybrid)
endif()
